/**
* @Title: BaseModel.java
* @Description: TODO(用一句话描述该文件做什么)
* @author 张鑫
* @phone 17561783855
* @date 2019年3月29日
*/
package com.fortune.rainshinecommon.base;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fortune.rainshinecommon.model.system.User;

import java.io.Serializable;
import java.util.Date;

/**
* @ClassName: BaseModel
* @Description: TODO(基础model)
* @author 张鑫
* @phone 17561783855
* @date 2019年3月29日
*
*/
public class BaseModel implements Serializable{
	private static final long serialVersionUID = -5172591242162186678L;

	 @TableId
	 private Integer id;// 主键
	 private Date createTime;//创建时间
	 private Date updateTime;//更新时间
	 private Integer createId;//创建人id
	 private Integer updateId;//最后更新人id
	 
	 @TableField(exist = false)
	 private String verificationCode;//验证码
	 @TableField(exist = false)
	 private User user;//用户

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Integer getCreateId() {
		return createId;
	}
	public void setCreateId(Integer createId) {
		this.createId = createId;
	}
	public Integer getUpdateId() {
		return updateId;
	}
	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}
	public String getVerificationCode() {
		return verificationCode;
	}
	public void setVerificationCode(String verificationCode) {
		this.verificationCode = verificationCode;
	}


}
